//
//  PPAssetsGroupPickerView.h
//  PPAssetsPickerViewController
//
//  Created by Jinxiao on 9/13/16.
//  Copyright © 2016 MicroDream. All rights reserved.
//

#import <UIKit/UIKit.h>

@import AssetsLibrary;

@class PPAssetsGroupPickerView;

@protocol PPAssetsGroupPickerViewDelegate <NSObject>

- (void)assetsGroupPickerView:(PPAssetsGroupPickerView *)assetsGroupPickerView didSelectAssetsGroup:(ALAssetsGroup *)group;

@end


@interface PPAssetsGroupPickerView : UIView

@property (readwrite, nonatomic, weak) id <PPAssetsGroupPickerViewDelegate> delegate;

@property (readwrite, nonatomic, strong) NSArray <ALAssetsGroup *> *groups;

@end

@interface PPAssetsGroupPickerViewCell : UITableViewCell

@property (readwrite, nonatomic, strong) ALAssetsGroup *assetsGroup;

@end